package com.zl.credit.service.impl;

import com.zl.credit.entity.CreditConnection;
import com.zl.credit.mapper.CreditConnectionMapper;
import com.zl.credit.service.CreditConnectionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author anonymous
 * @since 2020-07-14
 */
@Service
public class CreditConnectionServiceImpl extends ServiceImpl<CreditConnectionMapper, CreditConnection> implements CreditConnectionService {

    @Autowired
    private CreditConnectionMapper connectionMapper;
    @Override
    public void addconnection(CreditConnection connection) {
        connectionMapper.insert(connection);
    }
}
